import { BannersEntity } from './../../entity/banners.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { BannersService } from './banners.service';
import { BannersController } from './banners.controller';

@Module({
  imports:[TypeOrmModule.forFeature([BannersEntity])],
  providers: [BannersService],
  controllers: [BannersController]
})
export class BannersModule {} 
 